<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .box{
            width: 300px;
            height: 400px;
            background-color: #ff9b9b;
            margin: auto;
            background: url(./images/bg.gif);
            border: 2px solid green;
            padding: 10px;
        }
        .title{
            border-left: 5px solid greenyellow;
            padding-left: 10px;
            color: white;
            margin-bottom: 5px;
        }
        .list{
            list-style: none;
            background-color: #fff;
            padding: 0 15px ;
        }
        li{
            /* width: 250px; */
            height: 35px;
            background-color: #ffffff;
            border-bottom: 1px dashed gray;
            font-size: 14px;
            line-height: 35px;
            /* 图标通过背景图片设置 */
            background: url(./images/tb.gif) no-repeat center left  ;
            padding-left: 15px;
        }
        a{
            text-decoration: none;
        }

    </style>
</head>
<body>
    <div class="box">
        <div class="title">
            <h3>爱宠知识</h3>
        </div>
        <ul class="list">
            <li><a href="">养狗比养猫对健康更有利</a></li>
            <li><a href="">日本正宗柴犬亮相，你怎么看柴犬</a></li>
            <li><a href="">狗狗歌曲《新年旺旺》</a></li>
            <li><a href="">带宠兜风，开车带宠需要注意什么？</a></li>
            <li><a href="">【爆笑】这狗狗太不给力了</a></li>
            <li><a href="">狗狗与男童相同着装拍有爱造型照</a></li>
            <li><a href="">狗狗各个阶段健康大事件</a></li>
            <li><a href="">调皮宠物狗陷在沙发里的搞笑瞬间</a></li>
            <li><a href="">为什么每次大小便后，会用脚踢土？</a></li>
        </ul>
    </div>
</body>
</html>

